package com.hpeng.sys.service;

import java.util.Map;
import javax.servlet.http.HttpServletRequest;

public interface LoginUserMgr {
	public String getAccessRight(String userId, String funcCode);
	public String getAccessRight(Map<String,Object> sessionMap, String funcCode);
	public String getAccessRight(HttpServletRequest request, String funcCode);
	public String getUserId(HttpServletRequest request);//用户编号
	public String getUserName(HttpServletRequest request);//用户姓名
	public String getUserDeptId(HttpServletRequest request);//用户部门ID
	public String getUserDeptName(HttpServletRequest request);//用户部门名称
	public String getUserDeptParentId(HttpServletRequest request);//用户部门的上级部门ID
	public String getUserDeptParentName(HttpServletRequest request);//用户部门的上级部门的名称
	public String getUserEmployeeId(HttpServletRequest request);//获取登录用户所关联的员工ID
	public String getUserEmployeeName(HttpServletRequest request);//获取登录用户所关联的员工姓名
	public String getUserTemplateCode(HttpServletRequest request);//获取登录用户的功能权限模板代码
	public String getUserTemplateName(HttpServletRequest request);//获取登录用户的功能权限模板名称
	public boolean isJBR(HttpServletRequest request);//判断是否是经办人
	public boolean isFZR(HttpServletRequest request);//判断是否是负责人
}